home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / prntutil / more / more.doc < prev    next >
Text File  |  1995-04-25  |  4KB  |  95 lines

  1.  
  2.     MORE.TTP  -  Version 1.4
  3.  
  4.     A multi-purpose file-printout utility.
  5.     Copyright 1987 by Moshe Braner.
  6.     Permission is granted to copy and use,
  7.     but not to sell for profit.
  8.  
  9.  
  10.     SYNOPSIS:
  11.  
  12.     more [-p][-f outfile][-v][-b][-d][-s][-c][-m#][-t#] filename
  13.  
  14.     -p  output to printer (default: to screen)
  15.     -f  send output to file
  16.     -v  print control chars verbatim
  17.     -b  break long lines to about 68 columns
  18.     -d  print double-spaced
  19.     -s  skip over perforation
  20.     -c  enter printer control codes (manually)
  21.     -m# add an extra left margin of # columns
  22.     -t# expand tabs to size # (default 8) (0 to leave as-is)
  23.  
  24.  
  25.     More.ttp prints a text file to the screen, printer, or into
  26.     another file.  It provides convenient screen-by-screen viewing
  27.     (including review of text that has scrolled off screen), and
  28.     various hardcopy printout options.  More.ttp also attempts to
  29.     show word-processing (e.g. 1st Word) files in a usable form.
  30.  
  31.     More.ttp is a 'TOS-takes-parameters' program, i.e. it takes
  32.     its instructions from the 'command line'.  From the desktop,
  33.     double-click on the MORE.TTP icon, then enter the parameters
  34.     into the dialog box.  From a 'shell', type "more" followed
  35.     by the parameters, then press <Return>.
  36.  
  37.     If you invoke more.ttp with no parameters at all, it will
  38.     display a short list of the command-line parameter options.
  39.  
  40.     One parameter is always needed: the name of the file to be
  41.     printed.  If that is the only parameter you enter on the
  42.     command line, that text file will be shown on the screen.
  43.     One screen-full will be displayed, and the message "more...".
  44.     You can then press <Return> to see one more line, <Space> to
  45.     see the next screenfull, <Backspace> to see the former screen-
  46.     full, or <Esc> (or <Q>) to quit.  You can also press <Home> to
  47.     jump to the beginning of the file.  Press <Home> once again to
  48.     jump to the end of the file.  When at the end of the file you
  49.     will see the message "end of file".  You can then press <Esc>
  50.     (or <Q>), <Backspace>, or <Home>.
  51.  
  52.     To print the file 'foo' on the printer (the parallel port)
  53.     type "more -p foo".  The whole file will be printed without
  54.     pause, but you may abort the printout in the middle by pressing
  55.     <Esc>.  You may also add other options on the command line:
  56.  
  57.         "-s" to skip 6 lines after every 60 text lines (to
  58.              skip over the perforation in fan-fold paper).
  59.         "-v" to pass control characters through unchanged.
  60.              (Otherwise they are replaced with spaces.)
  61.  
  62.     You can also manually add printer control codes (e.g. for a
  63.     font change).  On the command line type "-c".  Later, more.ttp
  64.     will prompt you for two sets of codes.  Enter any characters
  65.     you want, then press <Return>.  (Use Control-M to include ASCII
  66.     code 13.)  The first set will be sent BEFORE the file is printed,
  67.     the other set AFTER, presumably to reset the printer to your
  68.     preferred default printing style.
  69.  
  70.     If you add "-f foo" to your command line, the output will go to
  71.     the file 'foo' instead of the screen or the printer.  This is
  72.     useful if you want to print it on another computer, or if you
  73.     just want to convert a 1st-Word file to an ASCII file.
  74.  
  75.     Other options available, whether you're printing to the screen,
  76.     printer, or a file, are:
  77.  
  78.         "-b" to break long lines, at a space if possible, between
  79.              columns 63 and 75.  Good for word-processing files.
  80.         "-d" to print 'double spaced' (a blank line after each
  81.              text line).
  82.         "-t#" to expand tabs to a different width than the
  83.               default 8.  ('#' is the number, e.g. "-t4".)
  84.               ("-t0" cancels expansion of tabs: they are passed
  85.               through to the printer (or file) as ASCII 9.)
  86.         "-m#" to add a left-margin of # columns (e.g. "-m12").
  87.  
  88.  
  89.     Some example command lines:
  90.  
  91.         -p -c letter
  92.         -t4 program.pas
  93.         -p -s -m5 program.c
  94.         -b -f wp.txt wp.doc
  95.